home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
How Would You Survive?
/
How Would You Survive (1995)(Grolier)[Mac-PC].iso
/
mac
/
EGYPTW.DIR
/
01716_Script_Workshops
< prev
next >
Wrap
Text File
|
1995-09-13
|
13KB
|
450 lines
global gBeenClicked, gQuest
on EWorkshopsRollovers1
set gBeenClicked = 0
if (not(CheckClickedStatus(gQuest))) then
if rollover(6) then
repeat while rollover(6)
EgyptCursor
puppetsprite 14, true
set the locH of sprite 14 to 243
set the locV of sprite 14 to 303
updatestage
if the mousedown then
set GBeenClicked = 1
else
if gBeenClicked = 1 then
AnimateLoopFast 6, 899, 3, "SE281801.AIF Basketweave", 4
end if
end if
end repeat
set the locH of sprite 14 to 943
puppetsprite 14, false
updatestage
else
if rollover(7) then
repeat while rollover(7)
EgyptCursor
puppetsprite 19, true
set the locH of sprite 19 to 330
set the locV of sprite 19 to 236
updatestage
if the mousedown then
set GBeenClicked = 1
else
if gBeenClicked = 1 then
AnimateLoopFast 7, 902, 3, "SE281901.AIF Potwheel", 3
end if
end if
end repeat
set the locH of sprite 19 to 930
puppetsprite 19, false
updatestage
else
if rollover(39)then
repeat while rollover(39)
EgyptCursor
puppetsprite 28, true
set the locH of sprite 28 to 554
set the locV of sprite 28 to 199
updatestage
if the mousedown then
set GBeenClicked = 1
else
if gBeenClicked = 1 then
MetalWork
end if
end if
end repeat
set the locH of sprite 28 to 954
puppetsprite 28, false
updatestage
else
if rollover(10) then
repeat while rollover(10)
EgyptCursor
puppetsprite 20, true
set the locH of sprite 20 to 165
set the locV of sprite 20 to 306
updatestage
if the mousedown then
set GBeenClicked = 1
else
if gBeenClicked = 1 then
AnimateToSlowPauseFrom 10, 915, 1, 0, 2
end if
end if
end repeat
set the locH of sprite 20 to 900
updatestage
puppetsprite 20, false
else
if rollover(11) or rollover(12) then
repeat while rollover(11) or rollover(12)
EgyptCursor
puppetsprite 21, true
set the locH of sprite 21 to 423
set the locV of sprite 21 to 311
updatestage
if the mousedown then
set GBeenClicked = 1
else
if gBeenClicked = 1 then
PolishMetal
end if
end if
end repeat
set the locH of sprite 21 to 923
puppetsprite 21, false
updatestage
else
if rollover(13) then
repeat while rollover(13)
EgyptCursor
set the locH of sprite 22 to 301
set the locV of sprite 22 to 311
updatestage
if the mousedown then
set GBeenClicked = 1
else
if gBeenClicked = 1 then
GlassBlower
end if
end if
end repeat
set the locH of sprite 22 to 901
updatestage
else
if rollover(15) then
ArrowCursor
repeat while rollover(15)
set the locH of sprite 16 to 104
set the locV of sprite 16 to 288
updatestage
end repeat
set the locH of sprite 16 to 904
updatestage
else
if rollover(17) then
ArrowCursor
repeat while rollover(17)
set the locH of sprite 18 to 183
set the locV of sprite 18 to 376
updatestage
end repeat
set the locH of sprite 18 to 983
updatestage
else
if rollover(40) then
HandCursor
else
if rollover(41) then
HandCursor
else
if rollover(42) then
HandCursor
else
ArrowCursor
end if
end if
end if
end if
end if
end if
end if
end if
end if
end if
end if
end if
RandomQuestion(gQuest)
end
on EWorkshopsRollovers2
set gBeenClicked = 0
if (not(CheckClickedStatus(gQuest))) then
if rollover(6) then
repeat while rollover(6)
EgyptCursor
puppetsprite 28, true
set the locH of sprite 28 to 553
set the locV of sprite 28 to 240
updatestage
if the mousedown then
set GBeenClicked = 1
else
if gBeenClicked = 1 then
set the locH of sprite 28 to 953
UPDATESTAGE
AnimateWorkshop
exit repeat
end if
end if
end repeat
set the locH of sprite 28 to 953
updatestage
puppetsprite 28, false
else
if rollover(8) then
ArrowCursor
repeat while rollover(8)
set the locH of sprite 9 to 349
set the locV of sprite 9 to 242
updatestage
end repeat
set the locH of sprite 9 to 949
updatestage
else
if rollover(10) then
ArrowCursor
repeat while rollover(10)
set the locH of sprite 11 to 275
set the locV of sprite 11 to 324
updatestage
end repeat
set the locH of sprite 11 to 975
updatestage
else
if rollover(12) then
ArrowCursor
repeat while rollover(12)
set the locH of sprite 13 to 541
set the locV of sprite 13 to 391
updatestage
end repeat
set the locH of sprite 13 to 941
updatestage
else
if rollover(39) then
HandCursor
else
if rollover(41) then
HandCursor
else
if rollover(42) then
HandCursor
else
ArrowCursor
end if
end if
end if
end if
end if
end if
end if
end if
RandomQuestion(gQuest)
end
on MetalWork
ArrowCursor
set gAnimationcast = 905
set gAnimationcast2 = 910
set count = 0
repeat while count < 2 and (the mouseUP)
set the castnum of sprite 9 = gAnimationcast2
puppetsound "SE282002.AIF MetalHit"
updatestage
wait .1
set the castnum of sprite 9 = gAnimationcast2 + 1
updatestage
wait .1
set the castnum of sprite 9 = gAnimationcast2 + 2
updatestage
wait .1
set the castnum of sprite 8 = gAnimationcast + 1
set the castnum of sprite 9 = gAnimationcast2 + 3
updatestage
puppetsound 0
wait .1
set the castnum of sprite 8 = gAnimationcast + 2
set the castnum of sprite 9 = gAnimationcast2 + 4
updatestage
wait .1
set the castnum of sprite 8 = gAnimationcast + 3
set the castnum of sprite 9 = gAnimationcast2 + 3
updatestage
wait .1
set the castnum of sprite 8 = gAnimationcast + 4
set the castnum of sprite 9 = gAnimationcast2 + 2
updatestage
wait .1
set the castnum of sprite 8 = gAnimationcast + 3
set the castnum of sprite 9 = gAnimationcast2 + 1
updatestage
wait .1
puppetsound "SE282002.AIF MetalHit"
set the castnum of sprite 8 = gAnimationcast + 2
set the castnum of sprite 9 = gAnimationcast2
updatestage
wait .1
set the castnum of sprite 8 = gAnimationcast + 1
updatestage
wait .1
set the castnum of sprite 8 = gAnimationcast
updatestage
wait .1
puppetsound 0
set count = count + 1
end repeat
set the castnum of sprite 8 = gAnimationcast
set the castnum of sprite 9 = gAnimationcast2
puppetsound 0
updatestage
set gBeenClicked = 0
end
on PolishMetal
ArrowCursor
set gAnimationcast = 917
set gAnimationcast2 = 922
set count = 0
repeat while count < 2 and (the mouseUP)
set the castnum of sprite 12 = gAnimationcast2 + 1
updatestage
wait .2
set the castnum of sprite 11 = gAnimationcast + 1
updatestage
wait .2
set the castnum of sprite 11 = gAnimationcast + 2
set the castnum of sprite 12 = gAnimationcast2 + 2
updatestage
wait .2
set the castnum of sprite 11 = gAnimationcast + 3
updatestage
wait .2
set the castnum of sprite 11 = gAnimationcast + 4
set the castnum of sprite 12 = gAnimationcast2 + 1
updatestage
wait .2
set the castnum of sprite 11 = gAnimationcast + 3
updatestage
wait .2
set the castnum of sprite 11 = gAnimationcast + 2
set the castnum of sprite 12 = gAnimationcast2
updatestage
wait .2
set the castnum of sprite 11 = gAnimationcast + 1
updatestage
wait .2
set the castnum of sprite 11 = gAnimationcast
updatestage
wait .2
set count = count +1
end repeat
set the castnum of sprite 11 = gAnimationcast
set the castnum of sprite 12 = gAnimationcast2
puppetsound 0
updatestage
set gBeenClicked = 0
end
on AnimateWorkshop
ArrowCursor
set gAnimationcast = 951
set gAnimationcast2 = 966
set count = 0
repeat while count < 2 and (the mouseUP)
set the castnum of sprite 6 = gAnimationcast + 1
set the castnum of sprite 7 = gAnimationcast2 + 1
updatestage
wait .1
set the castnum of sprite 6 = gAnimationcast + 2
set the castnum of sprite 7 = gAnimationcast2 + 2
updatestage
wait .1
set the castnum of sprite 6 = gAnimationcast + 3
set the castnum of sprite 7 = gAnimationcast2 + 1
updatestage
wait .1
set the castnum of sprite 6 = gAnimationcast + 4
set the castnum of sprite 7 = gAnimationcast2
updatestage
wait .1
set the castnum of sprite 6 = gAnimationcast + 5
updatestage
wait .1
set the castnum of sprite 6 = gAnimationcast + 6
updatestage
wait .1
set the castnum of sprite 6 = gAnimationcast + 7
updatestage
wait .1
set the castnum of sprite 6 = gAnimationcast + 8
updatestage
wait .1
set the castnum of sprite 6 = gAnimationcast + 9
set the castnum of sprite 7 = gAnimationcast2 + 1
updatestage
wait .1
set the castnum of sprite 6 = gAnimationcast + 10
set the castnum of sprite 7 = gAnimationcast2 + 2
updatestage
wait .1
set the castnum of sprite 6 = gAnimationcast + 11
set the castnum of sprite 7 = gAnimationcast2 + 1
updatestage
wait .1
set the castnum of sprite 6 = gAnimationcast + 12
set the castnum of sprite 7 = gAnimationcast2
updatestage
wait .1
set the castnum of sprite 6 = gAnimationcast + 13
puppetsound "SE282501.AIF"
updatestage
wait .1
set the castnum of sprite 6 = gAnimationcast + 14
updatestage
wait .1
set the castnum of sprite 6 = gAnimationcast
updatestage
wait .1
set count = count +1
end repeat
set the castnum of sprite 6 = gAnimationcast
set the castnum of sprite 7 = gAnimationcast2
puppetsound 0
updatestage
set gBeenClicked = 0
end
on GlassBlower
ArrowCursor
set gSprite = 13
set gCast = 925
set count = 0
repeat while count < 1 and the mouseup
set the castNum of sprite gSprite = gCast
set the castNum of sprite gSprite = gCast + 1
updatestage
wait .1
set the castNum of sprite gSprite = gCast + 2
updatestage
wait .1
set the castNum of sprite gSprite = gCast + 3
updatestage
wait .1
set the castNum of sprite gSprite = gCast + 4
updatestage
wait .1
set the castNum of sprite gSprite = gCast + 5
updatestage
wait .1
puppetsound "SE282301.AIF Glassblow"
set the castNum of sprite gSprite = gCast + 6
updatestage
wait .1
set the castNum of sprite gSprite = gCast + 7
updatestage
wait .1
set the castNum of sprite gSprite = gCast + 8
updatestage
wait 2
set count = count + 1
end repeat
set the castNum of sprite gSprite = gCast
updatestage
puppetsound 0
set gbeenclicked = 0
end